<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>商家资料</title>

    <!-- Bootstrap -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">

    <link rel="stylesheet" href="../css/reset.css"/>

    <link rel="stylesheet" href="css/send.css"/>

    <!--mui-->
    <link rel="stylesheet" href="../lib/mui.css"/>
    <script src="../lib/mui.js"></script>

    <script src="../js/jquery-1.12.2.min.js"></script>


    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body style="background-color:#fff;">
<form action="">
    <div class="top">
        <div class="all">
            <span>商品</span>
            <input type="text" placeholder="商品"/>
        </div>
        <div class="all">
            <span>数量</span>
            <input type="text" placeholder="数量"/>
        </div>
        <div class="all">
            <span>收货人</span>
            <input type="text" placeholder="收货人"/>
        </div>
        <div class="all">
            <span>收货人电话</span>
            <input type="text" placeholder="收货人电话"/>
        </div>
        <div class="all">
            <span>收货人地址</span>
        </div>
        <div class="three">
            <textarea rows="3" cols="20" placeholder="收货人地址"></textarea>
        </div>
    </div>
    <div class="middle"></div>
    <div class="bottom">
        <div class="all">
            <span>物流公司</span>
            <input type="text" placeholder="请填写物流公司"/>
        </div>
        <div class="all">
            <span>物流单号</span>
            <input type="text" placeholder="请填写物流单号"/>
        </div>
    </div>
    <div class="foot">
        <div class="notice">
            <span></span>
        </div>
        <button id="alertBtn">提交</button>
    </div>
</form>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="../js/bootstrap.min.js"></script>
<script>
    (function (doc, win) {
        var docEl = doc.documentElement,
            resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
            recalc = function () {
                var clientWidth = docEl.clientWidth;
                if (!clientWidth) return;
                if(clientWidth>=1080){
                    docEl.style.fontSize = '100px';
                }else{
                    docEl.style.fontSize = 100 * (clientWidth / 1080) + 'px';
                }
            };

        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
        doc.addEventListener('DOMContentLoaded', recalc, false);
    })(document, window);

    document.getElementById("alertBtn").addEventListener('tap', function() {
        mui.alert('发货成功', function() {
            window.location.href = "things.html";
        });
    });
</script>
</body>
</html>